Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

make character move upward forever unity 2d

    public Rigidbody2D m_Rigidbody;
    public float m_Speed;


    void Start()
    {
        m_Rigidbody.velocity = transform.up * m_Speed;
    }
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# expression func automatically select return type 
Csharp :: get all the file from directory except txt in c# 
Csharp :: unity camera movement script 
Csharp :: notification platform not available c# 
Csharp :: how to change an object color with fill c# 
Csharp :: player not following slide object unity 2d 
Csharp :: C# Func Delegate 
Csharp :: c# unzip all archive files inside directory 
Csharp :: unity on statement how 
Csharp :: trigger enter with nav mesh 
Csharp :: how to reset disk permission 
Csharp :: c# class where T : enum C# 7.03 
Csharp :: Find Center Of Transforms, Points, Multiple Objects 
Csharp :: unity manager.instance 
Csharp :: split a datatable based on number of rows 
Csharp :: mouse position to canvas transform 
Csharp :: c# unhandled exception in thread” 
Csharp :: how to read reportview query string asp.net c# 
Csharp :: c sharp tenery operator with callin gmethods 
Csharp :: c# open config file by path 
Csharp :: join 2 list rows into one row and add totals fields C# 
Csharp :: c# class responsible for creating instances 
Csharp :: string join inside foreach loop c# 
Csharp :: C#$ 
Csharp :: .net open config file by name 
Csharp :: c# psobject get value 
Csharp :: .net entities query multiple join condition 
Csharp :: visual studio import excel get document created date 
Csharp :: how to create new function c# 
Csharp :: unity how to get data of play session time in a text file? 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =