Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Server
GameObject
GameObject
Server.GameObject.GameObject C# (CSharp) Method
GameObject Class Documentation
Show file
Open project: pmyoung/Advanced-Game-Project
GameObject()
public
method
GameObject() initializes a new ID for every GameObject object which is one more than the previous ID.
This sets the IDs so that they will always be unique.
public
GameObject
( ) :
System
return
System
public GameObject() { id = nextId; nextId++; }
GameObject
GameObject
calculateGravity
checkCollision
outOfBounds
updatePosition