void Start() { if (Obj != null) { gM = Obj.GetComponent <GameManager>(); } if (Cous != null) { CousM = Cous.GetComponent <cursorManager>(); } Ppoint = transform.position; rig = GetComponent <Rigidbody2D>(); }
void Start() { _instance = this; Cursor.SetCursor(cursor_normal, hotspot, mode); }