コード例 #1
0
    void OnRecordPersistentData()
    {
        TargetVein = GetComponent <ItemVein>();

        VariableName = name + LevelName + transform.position.x.ToString("F2") + transform.position.ToString("F2");
        DialogueLua.SetVariable(VariableName + "TriesToday", TargetVein.TriesToday);
    }
コード例 #2
0
 void Start()    // Start is called before the first frame updatepublic override void Start()
 {
     LevelName  = GameManager.Instance.LevelName;
     TargetVein = GetComponent <ItemVein>();
 }