Example #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));
 }
Example #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));
 }
Example #3
0
 void OnDisable()
 {
     Instance = null;
 }
Example #4
0
 void OnDisable()
 {
     Instance = null;
 }