Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurvySpline Class Update() etc..
#5
I used a singelton and placed it Refresh(); AnyStaticVar.Show.counter++;

Code:
using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class AnyStaticVar : MonoBehaviour {
   static public AnyStaticVar Show;
   public int counter;

   void Awake() {
       Show = this;
   }
}

Hmm now it works. Very strange. I changed something on Play(), and now it didn't occur again and its not reproducible.
(Henry Ford) Each hour more of searching is each hour less of your live time.

Reply


Messages In This Thread
CurvySpline Class Update() etc.. - by Trainzland - 02-17-2016, 04:55 PM
RE: CurvySpline Class Update() etc.. - by Jake - 02-19-2016, 06:46 PM
RE: CurvySpline Class Update() etc.. - by Jake - 02-23-2016, 07:31 PM
RE: CurvySpline Class Update() etc.. - by Trainzland - 02-25-2016, 12:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I have a question about curvySpline haifeng.huang 12 32 07-14-2023, 09:34 AM
Last Post: _Aka_
  "Deadloop in CurvySPline.Refresh" spam Valkymaera 3 11 05-30-2023, 10:56 AM
Last Post: _Aka_
  Calling Update with defined deltatime Marco Schultz 3 8 01-25-2023, 01:58 PM
Last Post: _Aka_
  I want SetLocalPositions to update all CPs at once. yanke 3 7 05-30-2022, 02:50 PM
Last Post: _Aka_

Forum Jump: