ci-platforms / darwin amd64 smoke (push) Skipped
ci / build (amd64, linux, ubuntu-24.04) (push) Failing after 15m28s
ci / release (push) Skipped
ci-platforms / windows amd64 smoke (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
ci / checks (push) Successful in 7m47s
16 lines
295 B
Plaintext
16 lines
295 B
Plaintext
package demo
|
|
|
|
import (
|
|
"aego/tween"
|
|
"aego/curve"
|
|
)
|
|
|
|
script MaterialPulse {
|
|
var pulse tween.Tween
|
|
|
|
func Ready() {
|
|
node.Get<MaterialOverride>().SetFloat("Flash", 0)
|
|
pulse = tween.ToFloat(node, "MaterialOverride.Flash", 1, 0.8, curve.InOutSine).PingPong(-1)
|
|
}
|
|
}
|