can we get json result in c# controller code example
Example 1: can we write multiple trigger on an object salesforce
public class TestObjectTriggerHelper{
public TestObjectTriggerHelper(){
}
public void beforeInsert(List<TestObject__c> newLst, List<TestObject__c> oldLst){
}
public void beforeUpdate(List<TestObject__c> newLst, List<TestObject__c> oldLst){
}
........
...
public void afterInsert(List<TestObject__c> newLst, List<TestObject__c> oldLst){
}
public void afterUpdate(List<TestObject__c> newLst, List<TestObject__c> oldLst){
}
........
....
}
Example 2: how do i limit the amount of prefabs in unity using c# script
int maxEnemy = 50; int enemyCount = 0; void Spawn() { if(enemyCount >= maxEnemy) return;