Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        //_test.a = 1;
        //Debug.Log(_test.a);
        //_test2.a = 2;
        //Debug.Log(_test2.a);

        var a = test_1;

        a.x = 3f;
        Debug.Log(test_1.x);

        a   = test_2;
        a.x = 4f;
        Debug.Log(test_2.x);

        var b = particle.main;

        b.startSizeMultiplier = 3.53f;
        Debug.Log(particle.main.startSizeMultiplier);

        var testP = new TestParticle();
        var cb    = testP.TestMainModule;

        cb.TestSize = 4.23f;
        Debug.Log(testP.TestMainModule.TestSize);
    }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     Instance = this;
     //m_Particles = new ParticleSystem.Particle[m_System.main.maxParticles];
 }