public UTinyScript CreateScript(UTinyId id, string name)
        {
            var script = new UTinyScript(this, m_VersionStorage)
            {
                Id   = id,
                Name = name
            };

            m_VersionStorage.MarkAsChanged(script);

            Register(script);

            return(script);
        }
예제 #2
0
 public virtual void VisitScript(UTinyScript script)
 {
 }
예제 #3
0
 public override void VisitScript(UTinyScript script)
 {
     m_Script?.Invoke(script);
 }