示例#1
0
 private void Awake()
 {
     m_actor = GetComponent <FlexSoftActor>();
     if (referenceAnimSkin == null)
     {
         Debug.LogError("FlexAnimSoftSkin cannot work without a reference animation (Note: NOT the Skin of the Flex Object itself!)");
     }
 }
 // Start is called before the first frame update
 void Start()
 {
     fsa        = GetComponent <FlexSoftActor>();
     fc         = fsa.container;
     cam        = /*GetComponent<CameraController>().transform;*/ Camera.main.transform;
     last_pos   = transform.position;
     dashing    = false;
     clock_dash = 0;
 }
        private Vector4[] m_particles; // local cache

        void Awake()
        {
            m_actor = GetComponent <FlexSoftActor>();
        }
 // Start is called before the first frame update
 void Start()
 {
     flexSoftActor = GetComponent <FlexSoftActor>();
 }