Exemplo n.º 1
0
 void OnEnable()
 {
     Instance = this;
     // loading imgs
     save = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline tool/imgs/save.png", typeof(Texture));
     delete = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline tool/imgs/delete.png", typeof(Texture));
     reload = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline tool/imgs/reload.png", typeof(Texture));
     drawLine = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline tool/imgs/drawLine.png", typeof(Texture));
     saveAs = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline tool/imgs/save as.png", typeof(Texture));
 }
Exemplo n.º 2
0
 void OnEnable()
 {
     Instance = this;
     // loading imgs
     save     = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline Tools/imgs/save.png", typeof(Texture));
     delete   = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline Tools/imgs/delete.png", typeof(Texture));
     reload   = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline Tools/imgs/reload.png", typeof(Texture));
     drawLine = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline Tools/imgs/drawLine.png", typeof(Texture));
     saveAs   = (Texture)AssetDatabase.LoadAssetAtPath("Assets/Spline Tools/imgs/save as.png", typeof(Texture));
 }
Exemplo n.º 3
0
 void OnDisable()
 {
     Instance = null;
 }
Exemplo n.º 4
0
 void OnDisable()
 {
     Instance = null;
 }