Check out example codes for "unity c# static access non static". It will help you in understanding the concepts better.

Code Example 1

// To access a non static variable from a static function create 
// a static instance

public class ExampleClass : MonoBehaviour 
  static ExampleClass instance;
  string NonStaticVariable = "Hello";
  void Awake () 
    // Assign the instance to this class:
  	instance = this; 
  static void DoSomething () 
  	// Write the value of NonStaticVariable to the console:

Learn ReactJs, React Native from