private void Start() { if (instance == null) { instance = this; } m_bgImg = GetComponent <Image>(); m_arrowImage = transform.GetChild(0).GetComponent <Image>(); m_inputVector = Vector3.zero; m_broomAnimator = ControllerScript.instance.m_brooms.GetComponent <Animator>(); m_home = GameObject.Find("Home2"); }
public override string ToString() { return(Frame.Index + ": I->(" + NI.ToString("0.0") + ", " + VI.ToString("0.0") + ", " + MI.ToString("0.0") + "), J->(" + NJ.ToString("0.0") + ", " + VJ.ToString("0.0") + ", " + MJ.ToString("0.0") + ")"); }