void Awake() { motor = GetComponent<CharacterMotorCS>(); Transform root = transform; while ( root.parent != null ) root = root.parent; vcr = root.GetComponent<InputVCR>(); useVCR = vcr != null; }
void Awake() { motor = GetComponent <CharacterMotorCS>(); Transform root = transform; while (root.parent != null) { root = root.parent; } vcr = root.GetComponent <InputVCR>(); useVCR = vcr != null; }
void Awake() { motor = GetComponent <CharacterMotorCS>(); }
void Awake() { motor = GetComponent<CharacterMotorCS>(); }