void ApplyEmC(int cubeID, float cubeOriginX, float cubeOriginY, float cubeOriginZ) { Vector3 cubeOrigin = new Vector3(cubeOriginX, cubeOriginY, cubeOriginZ); //Debug.DrawRay(cubeOrigin,Vector3.up, Color.black,50f); EmcCreator emc = new EmcCreator(); emc.LaunchEmc(cubeOrigin, cubesList[cubeID]); //cubesList[i].GetComponent<CubeInteraction>().emc. }
void ApplyEmC(int cubeID, float cubeOriginX,float cubeOriginY,float cubeOriginZ) { Vector3 cubeOrigin = new Vector3( cubeOriginX, cubeOriginY, cubeOriginZ); //Debug.DrawRay(cubeOrigin,Vector3.up, Color.black,50f); EmcCreator emc = new EmcCreator(); emc.LaunchEmc(cubeOrigin,cubesList[cubeID]); //cubesList[i].GetComponent<CubeInteraction>().emc. }