// Use this for initialization void Awake() { anim = GetComponent <Animator>(); body = GetComponent <Rigidbody>(); rend = GetComponentInChildren <Renderer>(); controller = new ControllerLayer() { isUpper = isUpper }; }
// Use this for initialization void Awake() { anim = GetComponent<Animator>(); body = GetComponent<Rigidbody>(); rend = GetComponentInChildren<Renderer>(); controller = new ControllerLayer() {isUpper = isUpper}; }