예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     if (IMLcomponentToSendData)
     {
         IMLcomponentToSendData.SubscribeToIMLController(this);
     }
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     if (MLComponent)
     {
         MLComponent.SubscribeToIMLController(this);
     }
 }
 private void Start()
 {
     if (IMLSystem)
     {
         IMLSystem.SubscribeToIMLController(this);
     }
 }
예제 #4
0
    // Start is called before the first frame update
    void Start()
    {
        // Get reference to rigidbody
        if (m_Rigidbody == null)
        {
            m_Rigidbody = GetComponent <Rigidbody>();
        }

        m_OriginalMat = this.GetComponent <Renderer>().material;

        if (IMLSystem)
        {
            IMLSystem.SubscribeToIMLController(this, controlClones: true);
        }
    }