// Use this for initialization void Awake() { co = gameObject.AddComponent <ContainerObject>(); co.cv = this; co.Init(); extraOperation = false; lastLocalRot = transform.localRotation; lastLocalScal = transform.localScale.x; originLocalScal = transform.localScale.x; originEulerAngles = transform.localEulerAngles; //StartCoroutine(TweenToTargetTransform()); }