Example #1
0
    public void ReadMiuInput(string s)
    {
        input = s;
        PLProp plp = PL.GetComponent <PLProp>();

        plp.miu = float.Parse(input);
    }
Example #2
0
    private void UpdatePLTolbar()
    {
        PLProp pl = PL.GetComponent <PLProp>();

        Miu.text   = pl.miu.ToString();
        Angle.text = pl.angle.ToString();
    }
Example #3
0
    public void ReadAngleInput(string s)
    {
        input = s;
        PLProp plp = PL.GetComponent <PLProp>();

        plp.angle = float.Parse(input);
    }
Example #4
0
    /*private void Update()
     * {
     *  if (PLSelected)
     *      UpdatePLTolbar();
     * }*/
    public void EnablePLTolbar()
    {
        PLTolbar.SetActive(true);
        PLProp pl = PL.GetComponent <PLProp>();

        Miu.text   = pl.miu.ToString();
        Angle.text = pl.angle.ToString();
        PLSelected = true;
    }