void Awake() { smallRectTrans = GetComponent<RectTransform> (); inputManager = FindObjectOfType<InputManagerVP>(); largeVirtualPad = FindObjectOfType<LargeVirtualPad> (); }
void Start() { inputManager = FindObjectOfType<InputManagerVP>(); }