title: How do I pass variable from one script to another C# Unity 2D?
body: <p>For example I have a variable (public static float currentLife) in script "HealthBarGUI1" and I want to use this variable in another script.
  How do I pass variable from one script to another C# Unity 2D?</p>