示例#1
0
    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.
    }
示例#2
0
	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.
			
	}