// Use this for initialization void Start() { this._transform = gameObject.GetComponent<Transform>(); this._animator = gameObject.GetComponent<Animator>(); _instance = this; this._artScaleCache = this._transform.localScale; }
// Use this for initialization void Start() { this._transform = gameObject.GetComponent <Transform>(); this._animator = gameObject.GetComponent <Animator>(); _instance = this; this._artScaleCache = this._transform.localScale; }
// Use this for initialization void Start() { //Set default value for each variables this._myBody = gameObject.GetComponent<Rigidbody2D>(); this._transform = gameObject.GetComponent<Transform>(); this._tagGround = GameObject.Find(this.name + "/tag_ground").transform; myAnim = AnimatorControllerJS._instance; layerMask = ~layerMask; this._move = 0f; this._jump = 0f; this._facingRight = true; }
// Use this for initialization void Start() { //Set default value for each variables this._myBody = gameObject.GetComponent <Rigidbody2D>(); this._transform = gameObject.GetComponent <Transform>(); this._tagGround = GameObject.Find(this.name + "/tag_ground").transform; myAnim = AnimatorControllerJS._instance; layerMask = ~layerMask; this._move = 0f; this._jump = 0f; this._facingRight = true; }