// Use this for initialization
 void Start()
 {
     if (GetComponent <ICheckData> () != null)
     {
         data = GetComponent <ICheckData>();
     }
 }
 // Use this for initialization
 void Start()
 {
     if (GetComponent<ICheckData> () != null) {
         data = GetComponent<ICheckData>();
     }
 }